package demo3_10;

/**
 * Created by IntelliJ IDEA.
 *
 * @author : LiBaoxuan
 * @create 2023/5/10 9:23 PM
 */
public class Override {

    public void display() {
        System.out.println("这是主类中的display()方法的显示");
    }

    public static void main(String[] args) {
        Override o1 = new Override();
        o1.display();
        UserOverride o2 = new UserOverride();
        o2.display();
    }
}
